<!--{include(pe_tpl('header.html'));}-->
<div class="right_page">
	<div class="now">
		<a href="javascript:;" class="sel">{$menutitle}<i></i></a>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<div class="right_main">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="wenzhang mat20 mab20">
		<tr>
			<td align="right" width="200">品牌名称：</td>
			<td><input type="text" name="info[brand_name]" value="{$info['brand_name']}" class="inputall input300" /></td>
		</tr>
		<tr>
			<td align="right">品牌Logo：</td>
			<td id="upload">
				<div class="upload_box fl" style="width:100px;height:100px">
					<img src="{pe_thumb($info['brand_logo'])}" class="upload_img" />
					<input type="hidden" name="info[brand_logo]" value="{$info['brand_logo']}" class="upload_val">
				</div>
				<div class="c999 fl" style="margin:30px 0 0 10px">（尺寸：200 * 200）</div>
			</td>
		</tr>
		<tr>
			<td align="right">品牌Banner：</td>
			<td id="upload2">
				<div class="upload_box fl" style="width:350px;height:210px">
					<img src="{pe_thumb($info['brand_banner'])}" class="upload_img" />
					<input type="hidden" name="info[brand_banner]" value="{$info['brand_banner']}" class="upload_val">
				</div>
				<div class="c999 fl" style="margin:85px 0 0 10px">（尺寸：500 * 300）</div>
			</td>
		</tr>
		<tr>
			<td align="right">品牌简介：</td>
			<td><textarea name="info[brand_text]" style="width:550px;height:180px;">{$info['brand_text']}</textarea></td>
		</tr>
		<tr>
			<td align="right">显示顺序：</td>
			<td><input type="text" name="info[brand_order]" value="{$info['brand_order']}" class="inputall input60" /></td>
		</tr>
		</table>
	</div>
	<div class="right_bottom center">
		<input type="hidden" name="pe_token" value="{$pe_token}" />
		<input type="hidden" name="pesubmit" value="{$pe_token}" />
		<input type="button" value="提 交" class="tjbtn">
	</div>
	</form>
</div>
<link rel="stylesheet" href="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/style.css">
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/plupload.min.js"></script>
<script src="{$pe['host']}include/plugin/plupload/{$cache_setting['upload_server']}/upload.js"></script>
<script type="text/javascript">
$(function(){
	$("#upload").pe_upload({'type': 'brand'});
	$("#upload2").pe_upload();
	$(":button").click(function(){
		pe_submit("{pe_nowurl()}", function(json){
			if (json.code == 1) pe_open('back', 1000);
		});
	})
})
</script>
<!--{include(pe_tpl('footer.html'));}-->